package com.blackhorse.service;

import com.blackhorse.domain.Product;

public interface ProductService {
    /**
     * 根据pid查询商城信息
     */
    Product findByPid(Integer pid);

    /**
     * 扣减商品库存
     */
    void reduceInventory(Integer pid, Integer number);
}
